package com.brsya.base.bean;

import java.util.List;

/**
 * Created by Brsya
 * CreateDate: 2022/5/28  11:27
 * Description:
 * 播放页面
 */
public class PlayListBean {


    private int id;
    private String name;
    private String coverUrl;
    private String upState;
    private String doubanScore;
    private String showTime;
    private String videoType;
    private String videoArea;
    private String videoYear;
    private String videoTag;
    private String videoDirector;
    private String videoPerformer;
    private String videoDescribe;
    private List<PlayerListDTO> playerList;

    public int getId() { return id;}

    public void setId(int id) { this.id = id;}

    public String getName() { return name;}

    public void setName(String name) { this.name = name;}

    public String getCoverUrl() { return coverUrl;}

    public void setCoverUrl(String coverUrl) { this.coverUrl = coverUrl;}

    public String getUpState() { return upState;}

    public void setUpState(String upState) { this.upState = upState;}

    public String getDoubanScore() { return doubanScore;}

    public void setDoubanScore(String doubanScore) { this.doubanScore = doubanScore;}

    public String getShowTime() { return showTime;}

    public void setShowTime(String showTime) { this.showTime = showTime;}

    public String getVideoType() { return videoType;}

    public void setVideoType(String videoType) { this.videoType = videoType;}

    public String getVideoArea() { return videoArea;}

    public void setVideoArea(String videoArea) { this.videoArea = videoArea;}

    public String getVideoYear() { return videoYear;}

    public void setVideoYear(String videoYear) { this.videoYear = videoYear;}

    public String getVideoTag() { return videoTag;}

    public void setVideoTag(String videoTag) { this.videoTag = videoTag;}

    public String getVideoDirector() { return videoDirector;}

    public void setVideoDirector(String videoDirector) { this.videoDirector = videoDirector;}

    public String getVideoPerformer() { return videoPerformer;}

    public void setVideoPerformer(String videoPerformer) { this.videoPerformer = videoPerformer;}

    public String getVideoDescribe() { return videoDescribe;}

    public void setVideoDescribe(String videoDescribe) { this.videoDescribe = videoDescribe;}

    public List<PlayerListDTO> getPlayerList() { return playerList;}

    public void setPlayerList(List<PlayerListDTO> playerList) { this.playerList = playerList;}

    public static class PlayerListDTO {
        private String playerName;
        private int playerType;
        private List<InfoListDTO> infoList;

        public String getPlayerName() { return playerName;}

        public void setPlayerName(String playerName) { this.playerName = playerName;}

        public int getPlayerType() { return playerType;}

        public void setPlayerType(int playerType) { this.playerType = playerType;}

        public List<InfoListDTO> getInfoList() { return infoList;}

        public void setInfoList(List<InfoListDTO> infoList) { this.infoList = infoList;}

        public static class InfoListDTO {
            private int infoId;
            private String infoName;
            private String infoUrl;

            /**
             * 本地数据
             * 是否播放
             */
            private boolean isPlay = false;

            public int getInfoId() { return infoId;}

            public void setInfoId(int infoId) { this.infoId = infoId;}

            public String getInfoName() { return infoName;}

            public void setInfoName(String infoName) { this.infoName = infoName;}

            public String getInfoUrl() { return infoUrl;}

            public void setInfoUrl(String infoUrl) { this.infoUrl = infoUrl;}

            public boolean isPlay() {
                return isPlay;
            }

            public void setPlay(boolean play) {
                isPlay = play;
            }
        }
    }
}
